home *** CD-ROM | disk | FTP | other *** search
- Path: news.ust.hk!not-for-mail
- From: ee_yeh@uxmail.ust.hk (Edmond Yeh)
- Newsgroups: comp.lang.c++
- Subject: Put a job in background
- Date: 28 Mar 1996 07:31:59 GMT
- Organization: HKUST
- Message-ID: <4jdf9f$f0r@ustsu10.ust.hk>
- NNTP-Posting-Host: eesu21.ee.ust.hk
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- I am using NT 3.51 and there is a program called fax.exe which can be
- run in DOS command line : "fax -3 -1234567 abc.txt" to fax out the docunment
- in 3 trials.
-
- I would like to include this function in a WWW cgi program using C++ or
- perl script so that when the user click the button , the job is send
- to background to fax out the document while he can continue to browse
- other pages document.
- I have tried to simply call the system function in C++ , but the screen
- just hangs without and action. The same case in Perl.
-
- Is there any way to do that ?
- I read from the newsgroup that I can use the _spawn function in C++ to do
- background job, can anyone explain how this is done ?
- Any other way to do that using Perl ?
-
- Thanks a lot,
- Edmond
-
-
-